//
//  led.h
//  smart_garbage_case
//
//  Created by fukai on 2018/10.
//  Copyright © 2018年 Cyber01. All rights reserved.
//

#ifndef led_h
#define led_h


//定义流水灯状态
typedef enum
{
	LED1_ON = 0,
	LED2_ON,
	LED3_ON,
}FlowLampStatusNode;


//定义LED通道以及引脚
#define LED_GPIO	GPIOB
#define LED1		GPIO_Pin_5
#define LED2		GPIO_Pin_6
#define LED3		GPIO_Pin_7


void LedInit(void);//LED初始化
void FlowLampOn(int times);//流水灯启动
void FlowLampOff(void);//流水灯关闭

#endif


